<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<!-- Navigation -->

<div th:fragment="sidebar">
    <div class="side_menu" style="top: 90px;">
        <div class="form_dvv">
            <a href="#" title="登录" class="login_form_show">登录</a>
        </div>
        <div class="sd_menu">
            <ul class="mm_menu">
                <li>
							<span>
								<i class="iconfont icon-shouye"></i>
							</span>
                    <a th:href="@{/user/userHomePage}" title="">首页</a>
                </li>
                <li>
							<span>
								<i class="iconfont icon-rementuijian"></i>
							</span>
                    <a href="#feature" title="">为你推荐</a>
                </li>
                <!--<li>-->
                <!--<span>-->
                <!--<i class="icon-purchased"></i>-->
                <!--</span>-->
                <!--<a href="#updates" title="">订阅更新</a>-->
                <!--</li>-->
                <li>
							<span>
								<i class="iconfont icon-guanzhu"></i>
							</span>
                    <a href="#latest" title="">关注更新</a>
                </li>
            </ul>
        </div>

        <div class="sd_menu subs_lst">
            <h3>视频分类</h3>
            <ul class="mm_menu">
                <li th:each="classificationInfo:${classificationInfoList}">
							<span class="usr_name">
								<img th:src="@{/pagesResource/img/} + 'th' + ${#numbers.formatDecimal(T(java.lang.Math).floor(T(java.lang.Math).random()*14),1,0)} + '.png'" alt="娱乐">
							</span>
                    <a th:href="'#category' + ${classificationInfo.classificationId}"  th:text="${classificationInfo.classificationName}" th:title="${classificationInfo.classificationName}"></a>
                </li>
            </ul>
        </div>
        <th:block th:unless="${session.userInfo==null}">
            <div class="sd_menu">
                <ul class="mm_menu">
                    <li>
							<span>
								<i class="iconfont icon-gerenshezhi"></i>
							</span>
                        <a th:href="@{/user/userAccountPage}" title="">个人设置</a>
                    </li>
                    <li>
							<span>
								<i class="iconfont icon-zhuxiaodenglu"></i>
							</span>
                        <a th:href="@{/user/logout}" title="">登出</a>
                    </li>
                </ul>
            </div>
        </th:block>
        <div class="sd_menu m_linkz">
            <ul class="mm_menu">
                <li><a href="#">支持一下</a></li>
                <li><a href="#">问题反馈</a></li>
                <li><a href="#">联系我们</a></li>
            </ul>
            <span>D站——值得分享，值得期待</span>
        </div>
        <div class="dd_menu"></div>
    </div>
</div>
</html>